package com.jifeng.br.pjj.bookreader.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jifeng.br.pjj.bookreader.entity.RecordEntity;

/**
 * @Author PangJunjie
 * @Date 2023/7/19/019
 */
public interface RecordService extends IService<RecordEntity> {
    IPage<RecordEntity> getPage(int page, int limit, RecordEntity record);

    void saveRecord(RecordEntity record);

    void deleteRecord(int bookId);
}
